package com.rw.factory;

import com.rw.pojo.Student2;

/**
 * 通过动态的申请学生类
 * @author rabit
 */
public class StuActiveFactory {
    /**
     * 构建学生类的方法
     * @return
     */
    public Student2 getInstance(){
        return new Student2(98,"王四","23岁",1);
    }

}
